/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const componentsRouter = [{
  path: '/guiplan',
  component: Layout,
  redirect: 'noRedirect',
  name: 'guiplan',
  meta: {
    title: 'plan1',
    icon: 'component'
  },
  children: [
    {
      path: 'drag-kanban',
      component: () => import('@/views/test/index'),
      name: 'test',
      meta: { title: 'test页面' }
    },
	{
      path: 'test-plan',
      component: () => import('@/views/test/plan'),
      name: 'test',
      meta: { title: 'guiplan页面' }
    }
  ]
},{
  path: '/guiplan2',
  component: Layout,
  redirect: 'noRedirect',
  name: 'guiplan2',
  meta: {
    title: 'plan2',
    icon: 'component'
  },
  children: [
    {
      path: 'drag-kanban',
      component: () => import('@/views/test/index'),
      name: 'test',
      meta: { title: 'test页面' }
    },
	{
      path: 'drag-kanban2',
      component: () => import('@/views/test/index'),
      name: 'test',
      meta: { title: 'test页面2' }
    }
  ]
}]

export default componentsRouter
